﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AmorCanino.Common.Logger
{
    public class LoggerFactory
    {
        public static ILogger Current
        {
            get
            {
                switch (ConfigurationHandler.GetLoggerFactory)
                {
                    case "EventLogger":
                        return new EventLogger();
                    default:
                        return new FileLogger();
                }
            }
        }
    }
}